<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<form id="searchForm" class="am-form am-form-horizontal" action="">
	<input type="hidden" value="1" name="pageNum" />
	<div class="am-g">
		<div class="am-u-sm-4">
			<div class="am-form-group">
				<label class="am-u-sm-4 am-form-label am-text-right" style="font-size:15px;">用户名</label>
				<div class="am-u-sm-8">
					<input type="text" class="am-input-sm" name="userName" />
				</div>
			</div>
		</div>
		<div class="am-u-sm-4">
			<div class="am-form-group">
				<label class="am-u-sm-4 am-form-label am-text-right" style="font-size:15px;">操作</label>
				<div class="am-u-sm-8">
					<input type="text" class="am-input-sm" name="operation" />
				</div>
			</div>
		</div>
		<div class="am-u-sm-4">
			<div class="am-form-group">
				<label class="am-u-sm-4 am-form-label am-text-right" style="font-size:15px;">ip</label>
				<div class="am-u-sm-8">
					<input type="text" class="am-input-sm" name="ip" />
				</div>
			</div>
		</div>
	</div>
	<div class="am-form-group am-form-icon">
		<div class="am-u-sm-4">
			<div class="am-form-group">
				<label class="am-u-sm-4 am-form-label am-text-right" style="font-size:15px;">开始时间</label>
				<div class="am-u-sm-8">
					<div class="am-input-group am-datepicker-date" data-am-datepicker="{format: 'yyyy-mm-dd'}">
					  <input type="text" name="startDate" id="startDate" class="am-form-field" placeholder="开始时间" readonly="readonly" />
					  <span class="am-input-group-btn am-datepicker-add-on">
					    <button class="am-btn am-btn-default" type="button" onclick="document.getElementById('startDate').click()">
					    	<span class="am-icon-calendar"></span>
					    </button>
					  </span>
					</div>
				</div>
			</div>
		</div>
		
		<div class="am-u-sm-4 am-u-end">
			<div class="am-form-group">
				<label class="am-u-sm-4 am-form-label am-text-right" style="font-size:15px;">结束时间</label>
				<div class="am-u-sm-8">
					<div class="am-input-group am-datepicker-date" data-am-datepicker="{format: 'yyyy-mm-dd'}">
					  <input type="text" name="endDate" id="endDate" class="am-form-field" placeholder="结束时间" readonly="readonly" />
					  <span class="am-input-group-btn am-datepicker-add-on">
					    <button class="am-btn am-btn-default" type="button" onclick="document.getElementById('endDate').click()">
					    	<span class="am-icon-calendar"></span>
					    </button>
					  </span>
					</div>
				</div>
			</div>
		</div>
	</div>
</form>
<div class="am-u-sm-12">
	<div class="am-u-sm-2 am-u-sm-centered">
		<button type="button" class="am-btn am-btn-primary am-btn-xs"
			onclick="log.search()">查询</button>
		<button type="button" class="am-btn am-btn-primary am-btn-xs"
			onclick="log.reset()">重置</button>
	</div>
	<br>
</div>

<script>
$(function(){
	$('#startDate').datepicker({format: 'yyyy-mm-dd'});
	$('#endDate').datepicker({format: 'yyyy-mm-dd'});
});
</script>
